package io.adrainty.bolee.insurance.models.aggregate;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>WarrantyTimeDTO</p>
 *
 * @author AdRainty
 * @version V1.0.0
 * @description 保单时间
 * @since 2025/8/26 11:26:01
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "保单时间")
public class WarrantyTimeDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 6992752517266902812L;

    @Schema(description = "犹豫期截止时间")
    private LocalDateTime hesitationTime;

    @Schema(description = "等待期截止时间")
    private LocalDateTime waitTime;

    @Schema(description = "保障起始时间")
    private LocalDateTime safeguardStartTime;

    @Schema(description = "保障截止时间")
    private LocalDateTime safeguardEndTime;

}
